package com.common.utilities;

import java.nio.channels.SocketChannel;

import org.apache.log4j.Logger;

/**
 * User: wattsc5
 * <p/>
 * Date: 2/26/12
 */
public class ChangeRequest
{
	private static final Logger logger = Logger.getLogger(ChangeRequest.class);

	private SocketChannel socket;

	private ChangeRequestType requestType;

	private int ops;

	public ChangeRequest(SocketChannel socket, ChangeRequestType requestType, int ops)
	{
		this.socket = socket;
		this.requestType = requestType;
		this.ops = ops;
	}

	public SocketChannel getSocket()
	{
		return socket;
	}

	public ChangeRequestType getRequestType()
	{
		return requestType;
	}

	public int getOps()
	{
		return ops;
	}
}
